package com.zhuangwei;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * springboot 集成 swagger
 *
 * @author LeviCoder
 * @create 2019-01-30 15:02
 */
@SpringBootApplication
@EnableSwagger2Doc  //启用swagger
public class SwaggerApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(SwaggerApplication.class, args);
    }
}
